package com.moneywelcome.goldfacade.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 黄金购买规则表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
public class SubscribeRuleDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer ruleId;

    /**
     * 黄金id
     */
    private Integer goldId;

    /**
     * 服务费率
     */
    private Double serviceRate;

    /**
     * 管理费率
     */
    private Double manageRate;

    /**
     * 购买费率
     */
    private Double buyRate;

    /**
     * 最小购入金额
     */
    private Double minBuy;

    /**
     * 最大购入金额
     */
    private Double maxBuy;

    /**
     * 规则描述
     */
    private String ruleDesc;


}
